package com.zhongc.advance.api;

import com.zhongc.advance.common.result.Result;
import com.zhongc.advance.common.result.Results;
import com.zhongc.advance.info.UserSecurity;
import com.zhongc.advance.order.UserSecurityAddOrder;

import java.util.List;

/**
 * 用户密保问题接口
 *
 * @Description
 *
 * @Version 1.0
 *
 * @Author zhongc
 *
 * @Email zhong_ch@foxmail.com
 *
 * @History
 *<li>Author: zhongc</li>
 *<li>Date: 2015年7月14日</li>
 *<li>Version: 1.0</li>
 *<li>Content: create</li>
 *
 */
public interface UserSecurityService {

    /**
     * 添加用户密保问题
     * @param order
     * @return
     */
    Result addUserSecurity(List<UserSecurityAddOrder> order);

    /**
     * 更新用户密保问题
     * @param order
     * @return
     */
    Result updateUserSecutity(List<UserSecurity> order);

    /**
     * 验证用户密保问题
     * @param userId
     * @return
     */
    Results validateUserSecutitys(String userId);
}
